"""
-------------------------------
- File_Name: printDesign.py.py
- Date: 2025/5/15
- Author: yangzhide
- Email: xxzjyzd@126.com
- Description: 
-------------------------------
"""
from typing import Any
from pydantic import BaseModel, Field
from app.utils.common import to_camel_case


class PrintDesignBase(BaseModel):
    """打印方案"""

    """id"""
    id: str
    """方案名称"""
    design_name: str
    """方案内容"""
    design_content: Any
    """方案描述"""
    design_desc: str
    """创建时间"""
    create_time: str | None = Field(None)
    """创建者"""
    create_by: str

    class Config:
        alias_generator = to_camel_case
        populate_by_name = True


class PrintDesignIn(PrintDesignBase):
    pass

class PrintDesignOut(PrintDesignBase):
    pass